home *** CD-ROM | disk | FTP | other *** search
- stop();
- delete ball.onEnterFrame;
- ball._x = 312;
- ball._y = 20;
- ball._xscale = 970;
- ball._yscale = 970;
- ball.vx = 60;
- ball.onEnterFrame = function()
- {
- this._rotation += 50;
- this.vx *= 0.9;
- this._x -= this.vx;
- this._y += 9;
- if(this._y > Stage.height / 2 + 100)
- {
- play();
- delete this.onEnterFrame;
- }
- };
-